﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GeckoPhotos
{

    /// <summary>
    /// Settings class to provide a layer of indirection to all global settings, which will allow
    /// me to alter how/where settings are stored once I decide on the best method.
    /// </summary>
    public class StaticSettings : ISettings
    {

        private readonly static StaticSettings _instance = new StaticSettings();

        private StaticSettings()
        {
        }

        public static ISettings Instance
        {
            get
            {
                return _instance;
            }
        }

        int ISettings.ThumbnailWidth
        {
            get { return 128; }
        }

        int ISettings.ThumbnailHeight
        {
            get { return 128; }
        }

        System.Drawing.Imaging.ImageFormat ISettings.StandardImageFormat
        {
            get { return System.Drawing.Imaging.ImageFormat.Png; }
        }

        int ISettings.MaxImageWidth
        {
            get { return 640; }
        }

        int ISettings.MaxImageHeight
        {
            get { return 640; }
        }
    }

}
